package com.stylefeng.guns.modular.system.controller;

import com.stylefeng.guns.biz.app.model.TAppList;
import com.stylefeng.guns.biz.app.service.ITAppListService;
import com.stylefeng.guns.core.base.controller.BaseController;
import com.stylefeng.guns.modular.system.service.INoticeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

/**
 * 总览信息
 *
 * @author fengshuonan
 * @Date 2017年3月4日23:05:54
 */
@Controller
@RequestMapping("/indexContent")
public class IndexContentController extends BaseController {

    @Autowired
    private ITAppListService tAppListService;

    /**
     * 跳转到黑板
     */
    @RequestMapping("")
    public String indexContent(Model model) {  
         List<TAppList> notices = tAppListService.selectList(null);
         model.addAttribute("tAppList", notices);
        return "/indexContent.html";
    }
}
